import React, {Component} from 'react';
import {Link} from 'react-router-dom'
import './ContentRigth.css'

export default class ContentRigth extends Component {
    constructor(props) {
        super(props);
        this.state={
            title:this.$redux.memus.getState()[this.$redux.memu_index.getState()],
        }
    }

    render() {
        return (
            <div className="ct-at-m-right">
                <div className="ct-at-m-title">
                    <div><a href="#">{this.state.title.t_name}</a></div>
                    <div>
                        <span>您的位置：</span>
                        <Link to="/">首页 </Link>
                        &gt;&gt;
                        <a href="/"> {this.state.title.t_name}</a>
                    </div>
                </div>
                {this.props.children}
            </div>
        )
    }
}